package com.wechat.shopping.mall.po;

import com.wechat.shopping.mall.bean.po.CategoryGoodRelation;
import com.wechat.shopping.mall.bean.po.CategoryGoodRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface CategoryGoodRelationMapper {
    int countByExample(CategoryGoodRelationExample example);

    int deleteByExample(CategoryGoodRelationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CategoryGoodRelation record);

    int insertSelective(CategoryGoodRelation record);

    List<CategoryGoodRelation> selectByExampleWithRowbounds(CategoryGoodRelationExample example, RowBounds rowBounds);

    List<CategoryGoodRelation> selectByExample(CategoryGoodRelationExample example);

    CategoryGoodRelation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CategoryGoodRelation record, @Param("example") CategoryGoodRelationExample example);

    int updateByExample(@Param("record") CategoryGoodRelation record, @Param("example") CategoryGoodRelationExample example);

    int updateByPrimaryKeySelective(CategoryGoodRelation record);

    int updateByPrimaryKey(CategoryGoodRelation record);
}